package com.lnsf.bookstore.system.role.dao;

import com.lnsf.bookstore.system.role.vo.RolePermission;

import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.Map;

@Repository
public interface RolePermissionMapper extends Mapper<RolePermission>{

  int saveOrUpdate(Map<String, Object> map);

  int deleteByRoleId(Integer roleId );
}